package cn.itrip.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Setter;
import lombok.Getter;

/**
 * 标签字典表
 * @auth chendd
 * @date 2020/12/25 08:58
 */
@Setter
@Getter
@ApiModel
@TableName("itrip_label_dic")
public class ItripLabelDic {

    @TableField("id")
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField("name")
    @ApiModelProperty(value = "key值")
    private String name;

    @TableField("value")
    @ApiModelProperty(value = "value值")
    private String value;

    @TableField("description")
    @ApiModelProperty(value = "描述")
    private String description;

    @TableField("parentId")
    @ApiModelProperty(value = "父级标签id(1级标签则为0)")
    private Long parentId;

    @TableField("pic")
    @ApiModelProperty(value = "标签图片地址")
    private String pic;

    @TableField("creationDate")
    @ApiModelProperty(value = "")
    private java.util.Date creationDate;

    @TableField("createdBy")
    @ApiModelProperty(value = "")
    private Long createdBy;

    @TableField("modifyDate")
    @ApiModelProperty(value = "")
    private java.util.Date modifyDate;

    @TableField("modifiedBy")
    @ApiModelProperty(value = "")
    private Long modifiedBy;

}
